package com.itcoon.cloud.framework.transform.config;/**
 * @author Athric Yu
 * 2024/11/8
 **/

import com.itcoon.cloud.framework.transform.build.converter.DefaultArrayConverter;
import com.itcoon.cloud.framework.transform.build.converter.DefaultConverter;
import com.itcoon.cloud.framework.transform.build.converter.ListConverter;
import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.context.ApplicationContextAware;
import org.springframework.context.annotation.Bean;

/**
 *
 *
 * @author Athric Yu
 * 2024/11/8
 **/
@AutoConfigureAfter(ApplicationContextAware.class)
public class TransformConverterAutoConfiguration {

    @Bean
    public DefaultConverter defaultConverter(){
        return new DefaultConverter();
    }

    @Bean
    public DefaultArrayConverter defaultArrayConverter(){
        return new DefaultArrayConverter();
    }

    @Bean
    public ListConverter listConverter(){
        return new ListConverter();
    }

}
